# Gunicorn配置文件
bind = "0.0.0.0:5000"
workers = 4
worker_class = "sync"
timeout = 120
keepalive = 5
errorlog = "gunicorn_error.log"
accesslog = "gunicorn_access.log"
loglevel = "info"

# 工作进程配置
worker_connections = 1000
max_requests = 2000
max_requests_jitter = 200

# 进程名称
proc_name = "surface_tension_app"

# 守护进程模式
daemon = False

# 优雅重启
graceful_timeout = 30 